package com.aotuman.ktcoroutineandroid

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.aotuman.ktcoroutineandroid.chapter.one.CoroutineRun
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

//        val co = CoroutineRun()
//        co.suspendFuncWithParam("hello world")


        GlobalScope.launch {
            println("MainActivity.onCreate")
        }

    }
}